# -*-coding:utf-8 -*-
# File  : agentAdd_api.py
# Time  ：2021/11/25 15:53
# Author：author name

from api.manage.manage_base import ManageBase


class AgentAddApi(ManageBase):
    def __init__(self):
        super().__init__()
        self.url = self.host + "cloudlottery-manage/agent/add"
        self.json = {"termNo": "", "operatorId": "d87b0103b0914374ba26444aac39ceff",
                     "parentId": "d87b0103b0914374ba26444aac39ceff", "agentName": "qweqweq", "wholeName": "qweqweqwe",
                     "sceneType": "STORE", "saleProvince": "130000", "saleCity": "130300", "province": "北京市",
                     "city": "市辖区", "area": "东城区", "address": "qweqwe", "linkman": "JJ", "linkphone": "15207777777",
                     "email": "", "serviceTel": "", "remark": "", "cashRateAmount": "null", "cashRateScale": 3,
                     "cashRateType": 2, "distributionMode": 1, "distributionProfitMode": 0, "ctTotalRatio": 9,
                     "totalRatio": 9.5, "longitude": "", "latitude": "", "isTicketSite": 1, "ssqTotalRatio": 8.5,
                     "fcsdTotalRatio": 8.1, "qlcTotalRatio": 8.2, "klbTotalRatio": 8.3, "klscTotalRatio": 8.4}
        self.method = "post"
